import { IPublicEnumTransformStage, IPublicTypeNodeData } from '@alilc/lowcode-types';
import { scope, reactNodeGenerator } from '../schemaToCode/jsx';
import { project } from '@alilc/lowcode-engine';

export const testSchemaToCode = () => {
  const node = project.currentDocument.exportSchema(IPublicEnumTransformStage.Save);
  const jsxContent = reactNodeGenerator(node, scope);
  return jsxContent;
};
